home *** CD-ROM | disk | FTP | other *** search
- *******************************************************************************
- * STatus Disk Magazine *
- * Issue 1, Volume 1 *
- * *
- * NOTE: This issue is to be copied freely by Atari ST users. We at STatus *
- * strictly prohibit anyone selling this issue as part of a Shareware or PD *
- * collection. *
- * *
- * STatus Disk Magazine *
- * Suite 299 *
- * 4431 Lehigh Road *
- * College Park, MD 20740 *
- * *
- * STatus Disk Magazine (c) 1989, is a COMMERCIAL effort. *
- *******************************************************************************
-
- Michtron/HiSoft's DevPac ST version 2.08 Assembler
-
-
- Let me state one thing... I know I'm going to be writing the
- assembly programming tutorials because I know assembly, but first,
- you have to realize that I really just learned Assembly as it
- SHOULD be known THIS year.
-
- Sure, I had Assempro from Abacus, which, despite the 68020
- emulator in the debugger and various other nice things, it
- definitely was NOT the package for me to learn how to program in
- 68000 Assembly. I will not be comparing the two packages, but I
- do want to let you, the reader, know why I like DevPac ST v2.08 so
- much.
-
- The first thing you notice when you get DevPac ST is that it
- comes in a mammoth box. I mean, this box is huge. Within it,
- you're bound to be let down. There is a single manual, which
- looked, at the time, like it was NOT going to be very helpful.
-
- I was dead wrong on that one!
-
- The DevPac ST manual is nothing short of incredible. The
- moment I began reading it, the idiosyncacies I'd faced in learning
- the syntax of Assempro as a beginner in Assembly were easily
- overcome. There is even a section in it detailing how to port
- code from other Assemblers ( the Atari MADMAC from the Developer's
- Kit, GST-ASM, Metacomco Assembler, the K-Seka Assembler, and Fast
- ASM ) to insure you get the full use of DevPac ST.
-
- [ This was a MAJOR oversight in the Assempro documentation I
- had owned. In fact, for those of you who wish to learn Assembly,
- remember that the Abacus books are great (I own a LOT of them!),
- but Assempro will NOT compile the files if typed in verbatim from
- Abacus' OWN books! For a beginner, learning the "little things"
- about the syntax of the Assempro Assembler vs. what you see in
- examples in books is rough! ]
-
- Ok, back to the good stuff. DevPac ST comes with several
- programs on the disk, all of which are impressive. It comes with
- the GenST Assembler, which is capable of creating object code in
- either DRI or GST formats (and trust me, GST rules in Europe!),
- and has a VERY capable WordStar-like text editor built-in. GenST,
- in its program form, works as a "shell" of sorts to the MonST
- debugger (more on that later in this article), which is accessible
- at any time within GENST2.PRG via an option on the drop down
- menus. GenST also comes in a .TTP form, which will assemble a
- text file of source code without "confining" you to the editor it
- comes with.
-
- Now, everyone out there who likes Assembly is clamoring for
- the ultimate debugger. The folks at HiSoft who made this little
- gem (pun intended) have made what I can only term an absolute
- godsend! MonST comes in three forms: MONST2.PRG, AMONST2.PRG, and
- MONST2.TOS. According the manual, the distinctions are:
-
- MONST2.PRG GEM interactive version
- MONST2.TOS TOS interactive version
- AMONST2.TOS Auto-resident version
-
- The GEM version, simply put, is good for debugging programs
- that need to access the GEM AES/VDI routines. The TOS version is
- for those of us who like to make programs that auto-boot or avoid
- GEM, and test them from within the GENST.PRG editor/assembler.
- The auto-resident version simply works as the others, but only
- displays itself when an exception occurs in the machine. It, like
- the others, will then show you three windows, which contain a view
- of your data and address registers (window 1), your actual code at
- the point where execution stopped, with the reason why (window 2),
- and a display of the contents of RAM (window 3). These ARE NOT
- GEM windows! These are windows solely in terms of functionality,
- and purpose. It does do this job admirably, when it can, and only
- has serious problems when there is an illegal exception vector
- that hangs the machine up, but I'm not sure that is something any
- other Assembler could claim to do better.
-
- Along with the aforementioned Assembler and Debugger, you get
- a Linker. The Linker will work solely with GST compatible
- modules, [ This is a problem for those of us who want to use the
- SHOW512.O and DECOMP.O code from Trio Engineering that allows the
- display and decompression of .SPC pictures, since they are in DRI
- format! <sigh> ]. LINKST.TTP only runs from GENST.PRG using the
- Run Other option, but also works from the desktop. You are given
- the oppurtunity to specify parameters which affect actual
- resulting file, and you can even "map" showing the orders of the
- sections and labels in the final output file, or even make a
- symbol table which will catalog the symbols used. LinkST also
- allows you to use a control file so that you can avoid typing
- command lines for it if you're lazy, or if the command line is too
- large for normal use. Finally, it also allows for you to use the
- HiSoft Extended Debug option which, among other things, allows for
- twenty-two character symbol names!
-
- Ok, by now I'm expecting a set of Ginsu steak knives with
- this Assembler, because it seems to have it all......
-
- ...but wait! I haven't covered EVERYTHING! DevPac ST also
- contains a comprehensive library which is documented in a clear,
- concise manner in the manual. The library contains easy to use
- equivalents of all the GEMDOS, AES and VDI functions and how to go
- about passing parameters like any happy stack-hacker should! The
- library in version 2.08 did contain one typographical error which
- is in the VDILIB.S file, where a MOVE command was typed in as
- MOEV, but is otherwise perfect! All the facilities for expanding
- on this and making your own macros is allowed, and I am including
- with this premiere issue of STatus a collection of macros I've
- made for use with DevPac ST v2.08 that can be ported to other
- macro assemblers as well.
-
- Now, before I end what is most likely the most positive
- article I've probably written on any ST product (Falcon 1.1 looks
- promising!), I want to add to the list of goodies you get with
- DevPac ST v2.08:
-
- - the HiSoft file selector, which is like the STart
- file selector, and the one used in TOS 1.4. Not
- something a UIS_II fan has to worry about...
-
- - CHECKST.PRG which is used by HiSoft/Michtron to
- make sure any problems with system compatibility
- are not caused by differences in hardware. This is
- an admirable asset for anyone working in customer
- support for Michtron!
-
- - the NOTRACE program, which works in conjunction
- with the MonST debuggers.
-
- - a drop-down menu creator called MENU2ASM.TTP which
- will allow you to build drop downs from a simple
- text file. I don't use this much, but its straight
- forward in design, and very useful for GEMophiles.
-
- This is a great package. The suggested list price is $99,
- but it is often priced between $59-$79 here. If you want to learn
- Assembly, or know it, but want a superior Assembler for the Atari
- ST, this is the best package available. There are tons of reasons
- to buy it, and probably the #1 reason for me was the ease of use.
- It would be impossible for me to truthfully say that any other
- Assembler on the ST/Mega can touch this package and suggest it to
- all of you latent developers who want to go a step beyond C or
- GFA/STOS Basic.
-
-